/*
 * ZBRxResponse.h
 *
 *  Created on: Feb 17, 2013
 *      Author: maans
 */

#ifndef ZBRXRESPONSE_H_
#define ZBRXRESPONSE_H_

#include "RxDataResponse.h"

#ifdef SERIES_2

/**
 * Represents a Series 2 RX packet
 */
class ZBRxResponse : public RxDataResponse {
public:
	ZBRxResponse();
	virtual ~ZBRxResponse();
	XBeeAddress64& getRemoteAddress64();
	uint16_t getRemoteAddress16();
	uint8_t getOption();
	uint8_t getDataLength();
	// frame position where data starts
	uint8_t getDataOffset();
private:
	XBeeAddress64 _remoteAddress64;
};

#endif

#endif /* ZBRXRESPONSE_H_ */
